#include "qtboxstylepushbutton2.h"
QtBoxStylePushButton2::QtBoxStylePushButton2(QWidget *parent)
    : QPushButton(parent)
{
    setFixedSize(150, 50);
    setText("BUTTON");
    setStyleSheet(R"(
    QPushButton {
        background-color: qlineargradient(x1:0, y1:0.5, x2:1, y2:0.5, stop:0 #47a7ed, stop: 1 #a967b2);
        color: white;
        font-size: 20px;
        font-weight: bold;
        border-radius: 25px;
        min-width: 400px;
    }

    QPushButton:hover {
        background-color: qlineargradient(x1:0, y1:0.5, x2:1, y2:0.5, stop:0 #459ee0, stop: 1 #995da1);
    }

    QPushButton:pressed {
           background-color: qlineargradient(x1:0, y1:0.5, x2:1, y2:0.5, stop:0 #4093d1, stop: 1 #87538e);
    }
    )");
}
